package creationPattern.Factory.Factory_01.service;

import creationPattern.Factory.Factory_01.entity.DiscountResult;

/**
 * 打折券服务
 */
public class DiscountService {

    /**
     * 发奖品
     * @return
     */
    public DiscountResult sendDiscount(String uId,String awardNumber){
        System.out.println("向用户发送一张打折券" + uId + ":" + awardNumber);

        return new DiscountResult("200","发放打折券成功");
    }
}
